DsSocket Test Application for VIP

Objectives

A tool to be used for system test TelORB's new Distributed IP Stack [aka VIP]

Background

The test application consists mainly of 2 type of processes: Client(s) & Sever(s) each of which can run on various type of OSs. The application was tested on the following platforms: TelORB [using DicosSocket & ds_socket APIs], Linux, FreeBSD & Solaris.
Although one can run the various part of the application on multiple platforms, some of the functionality provided will not be present on some OSs, for instance Server processes can be configured so that to distribute servicing multiple ports only on TelORB.

Overview of the functionality of the Test Application

The test application is quit similar to an echo client/server. Client process(es) connect to a pre-configured set of TCP/IP ports [one or more] on a given host; it sends a message to the server and wait to get back an answer [typically the same message sent], this operation get carried out one or multiple times before shutting down the connection then repeating the same thing forever.

In order to create concurrency, the client process will start one sub-process for each connection and wait a pre-configured amount of time before starting a new sub-process [without waiting for the sub-process to quit/finish]. A client sub-process will quit once closing the socket i.e. after sending/receiving the pre-defined number of messages to the server on the same connection.

Server Configuration

Client Configuration